package com.njbw.design_pattern.created.factory.factoryMethod2.product.impl;

import com.njbw.design_pattern.created.factory.factoryMethod2.product.AbstractResource;

import java.io.IOException;
import java.io.InputStream;

/**
 * 从文件系统中加载资源
 *
 * @author 黄侯淳
 * @since JDK 1.8
 */
public class FileResource extends AbstractResource {

    public FileResource() {
    }

    public FileResource(String url) {
        super(url);
    }

    @Override
    public InputStream getInputStream() throws IOException {
        return null;
    }
}
